using MediatR;
using System;

namespace RBAC.Read.Api.Application.Command.ERP.SalesManagement.H
{
    /// <summary>
    /// 导出：销售订单计划查询结果（根据筛选条件，可无条件）
    /// </summary>
    public class ExportSalesOrderPlanListCommand : IRequest<byte[]>
    {
        public int PageIndex { get; set; } = 1; // 允许分页导出，若需全量可传大 PageSize 或另扩展全量导出
        public int PageSize { get; set; } = 10000;

        public string? SalesPerson { get; set; }
        public string? SalesOrderNumber { get; set; }
        public string? BusinessType { get; set; }
        public string? DeliveryStatus { get; set; }
        public string? MaterialCode { get; set; }
        public string? MaterialName { get; set; }
        public DateTime? StartDeliveryDate { get; set; }
        public DateTime? EndDeliveryDate { get; set; }
    }
}
